import React from 'react'

interface IHello {
    name:string
    age:number
}

const Hello  = (prop:any)=>(
    <div>
        <b>this is a Hello compoment</b>
        <span> {prop.name} is {prop.age} old</span>
    </div>
)

export default Hello